<!DOCTYPE html>
<html class="um landscape min-width-240px min-width-320px min-width-480px min-width-768px min-width-1024px">
    <head>
        <title></title>
        <meta charset="utf-8">
        <meta name="viewport" content="target-densitydpi=device-dpi, width=device-width, initial-scale=1, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
        <link rel="stylesheet" href="css/fonts/font-awesome.min.css">
        <link rel="stylesheet" href="css/ui-box.css">
        <link rel="stylesheet" href="css/ui-base.css">
        <link rel="stylesheet" href="css/ui-color.css">
        <link rel="stylesheet" href="css/appcan.icon.css">
        <link rel="stylesheet" href="css/appcan.control.css">
        <style>
            body{
                font-size:14px;
            }

            .text_content{
                font-size:1.2em;
                font-weight:bold;

            }
            .text_content i {
                font-style: normal;
                color:red;
            }
            .button_content{
                border:1px solid orange;
                padding:.3em .5em;
                font-size:1em;
                margin:1em;
                border-radius:.3em;
                cursor:pointer;
            }

        </style>
    </head>
    <body class="um-vp bc-bg ub ub-ver ub-ac ub-pc" ontouchstart style="background:#ffffff">

       <div class="text_content">
           您本次考试成绩为:<i></i>
       </div>
       <div class="button_content">
           回到主页面
       </div>
       
    </body>
    <script src="js/appcan.js"></script>
    <script src="js/appcan.control.js"></script>
    <script src="js/talkingdata.js"></script>
   
    </body>
    <script>
        appcan.ready(function() {
            //获取本地缓存
            var score=appcan.locStorage.getVal("score");
            $(".text_content i").html(score);
            IC.talkingDataCount("培训考试","00010");

        });

        $(".button_content").on("click",function(){

            //获取本地记录的考试信息
            var data=JSON.parse(appcan.locStorage.getVal("dataLIst"));
            var examId =appcan.locStorage.getVal("examId");
            appcan.locStorage.remove("subjectId");
            appcan.locStorage.remove("subjectItemId"); 
            appcan.locStorage.remove("userSelect");  
            appcan.locStorage.remove("examTime");  
            appcan.locStorage.remove("status");  
            appcan.locStorage.remove("score");  
            appcan.locStorage.remove("userSlec");
            appcan.locStorage.remove("selects");
            appcan.locStorage.remove("index");
            appcan.locStorage.remove("length");


            // if(data !==null){
            //     delete data[examId];//删除当前这个属性;
            //     appcan.locStorage.setVal("dataLIst",JSON.stringify(data));

            // }
            //appcan.window.close(-1);
            //执行窗口 执行脚本
            //uexWindow.evaluatePopoverScript("root", "fenshu_content", "search()");

            uexWindow.publishChannelNotification('fenshu_content','search()');
            uexWindow.evaluateScript("kaosDemo", "0", "appcan.window.close(-1)");


        })

    </script>
</html>
